package com.chaodriod.common.mvp.view

import com.swbyte.app.mvp.view.BaseView


/**
 * Created by 72byte on 2017/11/2.
 * 分页加载
 */

interface BasePageLoadView<in D> : BaseView {

    fun onShowLoading()

    fun onHideLoading()

    fun onLoadSuccess(datas: List<D?>)

    fun onLoadFail(prompt: String)

    fun onRefreshSuccess(datas: List<D?>)

    fun onRefreshFail(prompt: String)

}
